package com.jelly.web.share.base.controller;

/**
 * @创建人 ql
 * @创建时间 2018-08-20 09:56
 * @项目名称 jelly
 * @功能描述: 控制器路径基类
 **/
public class BasicPathController extends BaseParameterController{

    protected String admin(String path) {
        return "/admin"+path;
    }

    protected String share(String path) {
        return "/share"+path;
    }

    protected String adminStaff(String path) {
        return admin("/staff"+path);
    }

    protected String adminUserInfor(String path) {

        return share("/userInfor"+path);

    }

    protected String adminUser(String path) {

        return adminStaff("/user"+path);

    }

    protected String adminMonitor(String path) {

        return admin("/monitor"+path);

    }

    protected String adminLoginLog(String path) {

        return adminMonitor("/loginlog"+path);

    }

    protected String adminQuartz(String path) {

        return adminMonitor("/quartz"+path);

    }

    protected String adminOperLog(String path) {

        return adminMonitor("/operlog"+path);

    }

    protected String adminOnLineUser(String path) {

        return adminMonitor("/online"+path);

    }

    protected String adminSystem(String path) {

        return admin("/system"+path);

    }
    protected String adminBasics(String path) {

        return admin("/basics"+path);

    }
    protected String adminBasicsDictionaries(String path) {

        return adminBasics("/dictionaries"+path);

    }

    protected String adminBasicsBulletin(String path) {

        return adminBasics("/bulletin"+path);

    }

    protected String adminBasicsSensitiveWord(String path) {

        return adminBasics("/sensitive"+path);

    }

    protected String adminBasicsWebsiteDetails(String path) {

        return adminBasics("/website"+path);

    }

    protected String adminSystemPermission(String path) {

        return adminSystem("/permission"+path);

    }

    protected String adminSystemRole(String path) {

        return adminSystem("/role"+path);

    }

    protected String adminSystemDept(String path) {

        return adminSystem("/dept"+path);

    }

}
